package user

import (
	"github.com/gin-gonic/gin"
	"ppa/controller/user"
)

func Routers(e *gin.Engine) {
	userGroup := e.Group("/user")
	{
		userGroup.GET("/info", user.GetUserInfo)
		userGroup.POST("/info", user.SetUserInfo)
		userGroup.PUT("/info", user.SetUserByWalletAddress)
	}

}